package com.arpgalaxy.generator.entity;
/**
 * 列对象
 */
public class Column {
	
	private String columnName;//列名称
	private String variableName;//抽象的java实体类变量名称
	private String javaType;//java类型
	private String columnDbType;//列数据库类型
	private String columnComment;//列备注
	private String columnKey;//键类型 PRI:主键 ""空串代表普通，注意不能为null

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getVariableName() {
		return variableName;
	}

	public void setVariableName(String variableName) {
		this.variableName = variableName;
	}

	public String getJavaType() {
		return javaType;
	}

	public void setJavaType(String javaType) {
		this.javaType = javaType;
	}

	public String getColumnDbType() {
		return columnDbType;
	}

	public void setColumnDbType(String columnDbType) {
		this.columnDbType = columnDbType;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	@Override
	public String toString() {
		return "Column{" +
				"columnName='" + columnName + '\'' +
				", variableName='" + variableName + '\'' +
				", columnType='" + javaType + '\'' +
				", columnDbType='" + columnDbType + '\'' +
				", columnComment='" + columnComment + '\'' +
				", columnKey='" + columnKey + '\'' +
				'}';
	}
}
